package ai.people.core.grpc.lib.graph;

import static io.grpc.MethodDescriptor.generateFullMethodName;

/**
 */
@javax.annotation.Generated(
    value = "by gRPC proto compiler (version 1.42.0)",
    comments = "Source: graph/graph.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class GraphServiceGrpc {

  private GraphServiceGrpc() {}

  public static final String SERVICE_NAME = "graph.GraphService";

  // Static method descriptors that strictly reflect the proto.
  private static volatile io.grpc.MethodDescriptor<ai.people.core.grpc.lib.graph.InsertRequest,
      com.google.protobuf.StringValue> getInsertGraphDataMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "insertGraphData",
      requestType = ai.people.core.grpc.lib.graph.InsertRequest.class,
      responseType = com.google.protobuf.StringValue.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor<ai.people.core.grpc.lib.graph.InsertRequest,
      com.google.protobuf.StringValue> getInsertGraphDataMethod() {
    io.grpc.MethodDescriptor<ai.people.core.grpc.lib.graph.InsertRequest, com.google.protobuf.StringValue> getInsertGraphDataMethod;
    if ((getInsertGraphDataMethod = GraphServiceGrpc.getInsertGraphDataMethod) == null) {
      synchronized (GraphServiceGrpc.class) {
        if ((getInsertGraphDataMethod = GraphServiceGrpc.getInsertGraphDataMethod) == null) {
          GraphServiceGrpc.getInsertGraphDataMethod = getInsertGraphDataMethod =
              io.grpc.MethodDescriptor.<ai.people.core.grpc.lib.graph.InsertRequest, com.google.protobuf.StringValue>newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "insertGraphData"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  ai.people.core.grpc.lib.graph.InsertRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.google.protobuf.StringValue.getDefaultInstance()))
              .setSchemaDescriptor(new GraphServiceMethodDescriptorSupplier("insertGraphData"))
              .build();
        }
      }
    }
    return getInsertGraphDataMethod;
  }

  private static volatile io.grpc.MethodDescriptor<ai.people.core.grpc.lib.graph.InsertRelationRequest,
      com.google.protobuf.BoolValue> getInsertGraphDataWithRelationMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "insertGraphDataWithRelation",
      requestType = ai.people.core.grpc.lib.graph.InsertRelationRequest.class,
      responseType = com.google.protobuf.BoolValue.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor<ai.people.core.grpc.lib.graph.InsertRelationRequest,
      com.google.protobuf.BoolValue> getInsertGraphDataWithRelationMethod() {
    io.grpc.MethodDescriptor<ai.people.core.grpc.lib.graph.InsertRelationRequest, com.google.protobuf.BoolValue> getInsertGraphDataWithRelationMethod;
    if ((getInsertGraphDataWithRelationMethod = GraphServiceGrpc.getInsertGraphDataWithRelationMethod) == null) {
      synchronized (GraphServiceGrpc.class) {
        if ((getInsertGraphDataWithRelationMethod = GraphServiceGrpc.getInsertGraphDataWithRelationMethod) == null) {
          GraphServiceGrpc.getInsertGraphDataWithRelationMethod = getInsertGraphDataWithRelationMethod =
              io.grpc.MethodDescriptor.<ai.people.core.grpc.lib.graph.InsertRelationRequest, com.google.protobuf.BoolValue>newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "insertGraphDataWithRelation"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  ai.people.core.grpc.lib.graph.InsertRelationRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.google.protobuf.BoolValue.getDefaultInstance()))
              .setSchemaDescriptor(new GraphServiceMethodDescriptorSupplier("insertGraphDataWithRelation"))
              .build();
        }
      }
    }
    return getInsertGraphDataWithRelationMethod;
  }

  private static volatile io.grpc.MethodDescriptor<ai.people.core.grpc.lib.graph.BatchSaveRequest,
      com.google.protobuf.BoolValue> getBatchSaveGraphDataMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "batchSaveGraphData",
      requestType = ai.people.core.grpc.lib.graph.BatchSaveRequest.class,
      responseType = com.google.protobuf.BoolValue.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor<ai.people.core.grpc.lib.graph.BatchSaveRequest,
      com.google.protobuf.BoolValue> getBatchSaveGraphDataMethod() {
    io.grpc.MethodDescriptor<ai.people.core.grpc.lib.graph.BatchSaveRequest, com.google.protobuf.BoolValue> getBatchSaveGraphDataMethod;
    if ((getBatchSaveGraphDataMethod = GraphServiceGrpc.getBatchSaveGraphDataMethod) == null) {
      synchronized (GraphServiceGrpc.class) {
        if ((getBatchSaveGraphDataMethod = GraphServiceGrpc.getBatchSaveGraphDataMethod) == null) {
          GraphServiceGrpc.getBatchSaveGraphDataMethod = getBatchSaveGraphDataMethod =
              io.grpc.MethodDescriptor.<ai.people.core.grpc.lib.graph.BatchSaveRequest, com.google.protobuf.BoolValue>newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "batchSaveGraphData"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  ai.people.core.grpc.lib.graph.BatchSaveRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.google.protobuf.BoolValue.getDefaultInstance()))
              .setSchemaDescriptor(new GraphServiceMethodDescriptorSupplier("batchSaveGraphData"))
              .build();
        }
      }
    }
    return getBatchSaveGraphDataMethod;
  }

  private static volatile io.grpc.MethodDescriptor<ai.people.core.grpc.lib.graph.BatchSaveRelationRequest,
      com.google.protobuf.BoolValue> getBatchSaveGraphDataWithRelationMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "batchSaveGraphDataWithRelation",
      requestType = ai.people.core.grpc.lib.graph.BatchSaveRelationRequest.class,
      responseType = com.google.protobuf.BoolValue.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor<ai.people.core.grpc.lib.graph.BatchSaveRelationRequest,
      com.google.protobuf.BoolValue> getBatchSaveGraphDataWithRelationMethod() {
    io.grpc.MethodDescriptor<ai.people.core.grpc.lib.graph.BatchSaveRelationRequest, com.google.protobuf.BoolValue> getBatchSaveGraphDataWithRelationMethod;
    if ((getBatchSaveGraphDataWithRelationMethod = GraphServiceGrpc.getBatchSaveGraphDataWithRelationMethod) == null) {
      synchronized (GraphServiceGrpc.class) {
        if ((getBatchSaveGraphDataWithRelationMethod = GraphServiceGrpc.getBatchSaveGraphDataWithRelationMethod) == null) {
          GraphServiceGrpc.getBatchSaveGraphDataWithRelationMethod = getBatchSaveGraphDataWithRelationMethod =
              io.grpc.MethodDescriptor.<ai.people.core.grpc.lib.graph.BatchSaveRelationRequest, com.google.protobuf.BoolValue>newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "batchSaveGraphDataWithRelation"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  ai.people.core.grpc.lib.graph.BatchSaveRelationRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.google.protobuf.BoolValue.getDefaultInstance()))
              .setSchemaDescriptor(new GraphServiceMethodDescriptorSupplier("batchSaveGraphDataWithRelation"))
              .build();
        }
      }
    }
    return getBatchSaveGraphDataWithRelationMethod;
  }

  /**
   * Creates a new async stub that supports all call types for the service
   */
  public static GraphServiceStub newStub(io.grpc.Channel channel) {
    io.grpc.stub.AbstractStub.StubFactory<GraphServiceStub> factory =
      new io.grpc.stub.AbstractStub.StubFactory<GraphServiceStub>() {
        @java.lang.Override
        public GraphServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
          return new GraphServiceStub(channel, callOptions);
        }
      };
    return GraphServiceStub.newStub(factory, channel);
  }

  /**
   * Creates a new blocking-style stub that supports unary and streaming output calls on the service
   */
  public static GraphServiceBlockingStub newBlockingStub(
      io.grpc.Channel channel) {
    io.grpc.stub.AbstractStub.StubFactory<GraphServiceBlockingStub> factory =
      new io.grpc.stub.AbstractStub.StubFactory<GraphServiceBlockingStub>() {
        @java.lang.Override
        public GraphServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
          return new GraphServiceBlockingStub(channel, callOptions);
        }
      };
    return GraphServiceBlockingStub.newStub(factory, channel);
  }

  /**
   * Creates a new ListenableFuture-style stub that supports unary calls on the service
   */
  public static GraphServiceFutureStub newFutureStub(
      io.grpc.Channel channel) {
    io.grpc.stub.AbstractStub.StubFactory<GraphServiceFutureStub> factory =
      new io.grpc.stub.AbstractStub.StubFactory<GraphServiceFutureStub>() {
        @java.lang.Override
        public GraphServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
          return new GraphServiceFutureStub(channel, callOptions);
        }
      };
    return GraphServiceFutureStub.newStub(factory, channel);
  }

  /**
   */
  public static abstract class GraphServiceImplBase implements io.grpc.BindableService {

    /**
     * <pre>
     **
     *插入数据
     * </pre>
     */
    public void insertGraphData(ai.people.core.grpc.lib.graph.InsertRequest request,
        io.grpc.stub.StreamObserver<com.google.protobuf.StringValue> responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getInsertGraphDataMethod(), responseObserver);
    }

    /**
     * <pre>
     **
     *插入数据(带有关系)
     * </pre>
     */
    public void insertGraphDataWithRelation(ai.people.core.grpc.lib.graph.InsertRelationRequest request,
        io.grpc.stub.StreamObserver<com.google.protobuf.BoolValue> responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getInsertGraphDataWithRelationMethod(), responseObserver);
    }

    /**
     * <pre>
     **
     *批量插入数据
     * </pre>
     */
    public void batchSaveGraphData(ai.people.core.grpc.lib.graph.BatchSaveRequest request,
        io.grpc.stub.StreamObserver<com.google.protobuf.BoolValue> responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchSaveGraphDataMethod(), responseObserver);
    }

    /**
     * <pre>
     **
     *批量插入数据(带有关系)
     * </pre>
     */
    public void batchSaveGraphDataWithRelation(ai.people.core.grpc.lib.graph.BatchSaveRelationRequest request,
        io.grpc.stub.StreamObserver<com.google.protobuf.BoolValue> responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchSaveGraphDataWithRelationMethod(), responseObserver);
    }

    @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
      return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
          .addMethod(
            getInsertGraphDataMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                ai.people.core.grpc.lib.graph.InsertRequest,
                com.google.protobuf.StringValue>(
                  this, METHODID_INSERT_GRAPH_DATA)))
          .addMethod(
            getInsertGraphDataWithRelationMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                ai.people.core.grpc.lib.graph.InsertRelationRequest,
                com.google.protobuf.BoolValue>(
                  this, METHODID_INSERT_GRAPH_DATA_WITH_RELATION)))
          .addMethod(
            getBatchSaveGraphDataMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                ai.people.core.grpc.lib.graph.BatchSaveRequest,
                com.google.protobuf.BoolValue>(
                  this, METHODID_BATCH_SAVE_GRAPH_DATA)))
          .addMethod(
            getBatchSaveGraphDataWithRelationMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                ai.people.core.grpc.lib.graph.BatchSaveRelationRequest,
                com.google.protobuf.BoolValue>(
                  this, METHODID_BATCH_SAVE_GRAPH_DATA_WITH_RELATION)))
          .build();
    }
  }

  /**
   */
  public static final class GraphServiceStub extends io.grpc.stub.AbstractAsyncStub<GraphServiceStub> {
    private GraphServiceStub(
        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
      super(channel, callOptions);
    }

    @java.lang.Override
    protected GraphServiceStub build(
        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
      return new GraphServiceStub(channel, callOptions);
    }

    /**
     * <pre>
     **
     *插入数据
     * </pre>
     */
    public void insertGraphData(ai.people.core.grpc.lib.graph.InsertRequest request,
        io.grpc.stub.StreamObserver<com.google.protobuf.StringValue> responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getInsertGraphDataMethod(), getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     **
     *插入数据(带有关系)
     * </pre>
     */
    public void insertGraphDataWithRelation(ai.people.core.grpc.lib.graph.InsertRelationRequest request,
        io.grpc.stub.StreamObserver<com.google.protobuf.BoolValue> responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getInsertGraphDataWithRelationMethod(), getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     **
     *批量插入数据
     * </pre>
     */
    public void batchSaveGraphData(ai.people.core.grpc.lib.graph.BatchSaveRequest request,
        io.grpc.stub.StreamObserver<com.google.protobuf.BoolValue> responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getBatchSaveGraphDataMethod(), getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     **
     *批量插入数据(带有关系)
     * </pre>
     */
    public void batchSaveGraphDataWithRelation(ai.people.core.grpc.lib.graph.BatchSaveRelationRequest request,
        io.grpc.stub.StreamObserver<com.google.protobuf.BoolValue> responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getBatchSaveGraphDataWithRelationMethod(), getCallOptions()), request, responseObserver);
    }
  }

  /**
   */
  public static final class GraphServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<GraphServiceBlockingStub> {
    private GraphServiceBlockingStub(
        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
      super(channel, callOptions);
    }

    @java.lang.Override
    protected GraphServiceBlockingStub build(
        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
      return new GraphServiceBlockingStub(channel, callOptions);
    }

    /**
     * <pre>
     **
     *插入数据
     * </pre>
     */
    public com.google.protobuf.StringValue insertGraphData(ai.people.core.grpc.lib.graph.InsertRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getInsertGraphDataMethod(), getCallOptions(), request);
    }

    /**
     * <pre>
     **
     *插入数据(带有关系)
     * </pre>
     */
    public com.google.protobuf.BoolValue insertGraphDataWithRelation(ai.people.core.grpc.lib.graph.InsertRelationRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getInsertGraphDataWithRelationMethod(), getCallOptions(), request);
    }

    /**
     * <pre>
     **
     *批量插入数据
     * </pre>
     */
    public com.google.protobuf.BoolValue batchSaveGraphData(ai.people.core.grpc.lib.graph.BatchSaveRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getBatchSaveGraphDataMethod(), getCallOptions(), request);
    }

    /**
     * <pre>
     **
     *批量插入数据(带有关系)
     * </pre>
     */
    public com.google.protobuf.BoolValue batchSaveGraphDataWithRelation(ai.people.core.grpc.lib.graph.BatchSaveRelationRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getBatchSaveGraphDataWithRelationMethod(), getCallOptions(), request);
    }
  }

  /**
   */
  public static final class GraphServiceFutureStub extends io.grpc.stub.AbstractFutureStub<GraphServiceFutureStub> {
    private GraphServiceFutureStub(
        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
      super(channel, callOptions);
    }

    @java.lang.Override
    protected GraphServiceFutureStub build(
        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
      return new GraphServiceFutureStub(channel, callOptions);
    }

    /**
     * <pre>
     **
     *插入数据
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.StringValue> insertGraphData(
        ai.people.core.grpc.lib.graph.InsertRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getInsertGraphDataMethod(), getCallOptions()), request);
    }

    /**
     * <pre>
     **
     *插入数据(带有关系)
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.BoolValue> insertGraphDataWithRelation(
        ai.people.core.grpc.lib.graph.InsertRelationRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getInsertGraphDataWithRelationMethod(), getCallOptions()), request);
    }

    /**
     * <pre>
     **
     *批量插入数据
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.BoolValue> batchSaveGraphData(
        ai.people.core.grpc.lib.graph.BatchSaveRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getBatchSaveGraphDataMethod(), getCallOptions()), request);
    }

    /**
     * <pre>
     **
     *批量插入数据(带有关系)
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.BoolValue> batchSaveGraphDataWithRelation(
        ai.people.core.grpc.lib.graph.BatchSaveRelationRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getBatchSaveGraphDataWithRelationMethod(), getCallOptions()), request);
    }
  }

  private static final int METHODID_INSERT_GRAPH_DATA = 0;
  private static final int METHODID_INSERT_GRAPH_DATA_WITH_RELATION = 1;
  private static final int METHODID_BATCH_SAVE_GRAPH_DATA = 2;
  private static final int METHODID_BATCH_SAVE_GRAPH_DATA_WITH_RELATION = 3;

  private static final class MethodHandlers<Req, Resp> implements
      io.grpc.stub.ServerCalls.UnaryMethod<Req, Resp>,
      io.grpc.stub.ServerCalls.ServerStreamingMethod<Req, Resp>,
      io.grpc.stub.ServerCalls.ClientStreamingMethod<Req, Resp>,
      io.grpc.stub.ServerCalls.BidiStreamingMethod<Req, Resp> {
    private final GraphServiceImplBase serviceImpl;
    private final int methodId;

    MethodHandlers(GraphServiceImplBase serviceImpl, int methodId) {
      this.serviceImpl = serviceImpl;
      this.methodId = methodId;
    }

    @java.lang.Override
    @java.lang.SuppressWarnings("unchecked")
    public void invoke(Req request, io.grpc.stub.StreamObserver<Resp> responseObserver) {
      switch (methodId) {
        case METHODID_INSERT_GRAPH_DATA:
          serviceImpl.insertGraphData((ai.people.core.grpc.lib.graph.InsertRequest) request,
              (io.grpc.stub.StreamObserver<com.google.protobuf.StringValue>) responseObserver);
          break;
        case METHODID_INSERT_GRAPH_DATA_WITH_RELATION:
          serviceImpl.insertGraphDataWithRelation((ai.people.core.grpc.lib.graph.InsertRelationRequest) request,
              (io.grpc.stub.StreamObserver<com.google.protobuf.BoolValue>) responseObserver);
          break;
        case METHODID_BATCH_SAVE_GRAPH_DATA:
          serviceImpl.batchSaveGraphData((ai.people.core.grpc.lib.graph.BatchSaveRequest) request,
              (io.grpc.stub.StreamObserver<com.google.protobuf.BoolValue>) responseObserver);
          break;
        case METHODID_BATCH_SAVE_GRAPH_DATA_WITH_RELATION:
          serviceImpl.batchSaveGraphDataWithRelation((ai.people.core.grpc.lib.graph.BatchSaveRelationRequest) request,
              (io.grpc.stub.StreamObserver<com.google.protobuf.BoolValue>) responseObserver);
          break;
        default:
          throw new AssertionError();
      }
    }

    @java.lang.Override
    @java.lang.SuppressWarnings("unchecked")
    public io.grpc.stub.StreamObserver<Req> invoke(
        io.grpc.stub.StreamObserver<Resp> responseObserver) {
      switch (methodId) {
        default:
          throw new AssertionError();
      }
    }
  }

  private static abstract class GraphServiceBaseDescriptorSupplier
      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
    GraphServiceBaseDescriptorSupplier() {}

    @java.lang.Override
    public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() {
      return ai.people.core.grpc.lib.graph.Graph.getDescriptor();
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() {
      return getFileDescriptor().findServiceByName("GraphService");
    }
  }

  private static final class GraphServiceFileDescriptorSupplier
      extends GraphServiceBaseDescriptorSupplier {
    GraphServiceFileDescriptorSupplier() {}
  }

  private static final class GraphServiceMethodDescriptorSupplier
      extends GraphServiceBaseDescriptorSupplier
      implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
    private final String methodName;

    GraphServiceMethodDescriptorSupplier(String methodName) {
      this.methodName = methodName;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() {
      return getServiceDescriptor().findMethodByName(methodName);
    }
  }

  private static volatile io.grpc.ServiceDescriptor serviceDescriptor;

  public static io.grpc.ServiceDescriptor getServiceDescriptor() {
    io.grpc.ServiceDescriptor result = serviceDescriptor;
    if (result == null) {
      synchronized (GraphServiceGrpc.class) {
        result = serviceDescriptor;
        if (result == null) {
          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
              .setSchemaDescriptor(new GraphServiceFileDescriptorSupplier())
              .addMethod(getInsertGraphDataMethod())
              .addMethod(getInsertGraphDataWithRelationMethod())
              .addMethod(getBatchSaveGraphDataMethod())
              .addMethod(getBatchSaveGraphDataWithRelationMethod())
              .build();
        }
      }
    }
    return result;
  }
}
